﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<div class="modal-dialog ms-modal-dialog" style="width: 800px;">

  <div class="modal-content">

    <div class="modal-header">

      <button type="button" class="close" data-dismiss="modal">&times;</button>
      <h4 class="modal-title"><i class="glyphicon glyphicon-fire" title="过滤查询"></i>&nbsp;&nbsp;<span>过滤查询</span></h4>

    </div>

    <form class="form-horizontal ms-form" method="GET" action="${ctx.host}/coupon-use/search">

      <input type="hidden" name="filter" value="true" >

      <div class="modal-body">

        <div class="form-group ms-form-group">
          
          <label class="col-xs-2 control-label">用户手机号</label>
          <div class="pull-left" style="width: 30%">
            <input type="text" class="form-control" name="mobile" value="${param.mobile}" />
          </div>

          <label class="col-xs-2 control-label">优惠券码</label>
          <div class="pull-left" style="width: 30%">
            <input type="text" class="form-control" name="code" value="${param.code}" />
          </div>
          
        </div>

        <div class="modal-footer ms-modal-footer">
          <button type="submit" class="btn ms-btn btn-primary">查询</button>
          <button type="button" class="btn ms-btn ms-btn-gary" data-dismiss="modal">取消</button>
        </div>
        
      </div>



    </form>

  </div>
  
  <script type="text/javascript">
    
    $(document).ready(function(){

        $('.date').datetimepicker({
          format: 'yyyy-mm-dd',
          autoclose: true,
          language: 'zh-CN',
          todayBtn: 'linked',
          todayHighlight: true,
          pickerPosition: 'bottom-right',
          minView: 'month'
        });

    })
    
  </script>

</div>